package com.isunland.managesystem.adapter;

import android.content.Context;
import com.isunland.managesystem.R;
import com.isunland.managesystem.base.BaseListAdapter;
import com.isunland.managesystem.entity.ProblemReplyOriginal;
import java.util.List;

/**
 * Created by lenovo on 2016/11/17.
 */
public class ProblemReplyListAdapter
    extends BaseListAdapter<ProblemReplyOriginal.ProblemReplyContent> {
  public ProblemReplyListAdapter(Context context,
      List<ProblemReplyOriginal.ProblemReplyContent> objects) {
    super(context, objects);
  }

  /**
   * 绑定数据.
   */
  @Override public void bindData(int position, ViewHolder vh,
      ProblemReplyOriginal.ProblemReplyContent item) {
    vh.mTitleOneTv.setText(R.string.reply_person);
    vh.mTitleTwoTv.setText(R.string.reply_time);
    vh.mContentOneTv.setText(item.getRegStaffName());
    vh.mContentTwoTv.setText(item.getRegDate());
  }
}
